Dear <?php echo $user['User']['name']; ?>,We're glad to report that there's an advice waiting for you on laundrywaste.eu. Click on the link provided to read it online or simple hit the attachment (.pdf) to start reading immediately. Please note that the browser may ask for your login credentials prior to reading. This could be the change that makes all the difference. http://laundrywaste.eu/<? echo str_replace('\\', '/', $advice['Advice']['dir']) . '/' .  $advice['Advice']['filename']; ?>Regards,The SMILES team